﻿@{
    ViewBag.Title = "Home Page";
}
<script type="text/javascript">
    function AddButtonClick() {
        result.value = 2;
    }
</script>

<h2>@ViewBag.Message</h2>
    @Html.TextBox("FirstNumber")
    @Html.TextBox("SecondNumber")
    <input type="button" value="+" onclick="AddButtonClick()" />
    <input type="button" value="-" onclick="SubtractButtonClick" />
    <input id="result" />
